import request from '@/utils/request'

// 查询服务商列表
export function listService(query) {
  return request({
    url: '/system/dept/service/list', //
    method: 'get',
    params: query
  })
}

// 查询服务商详细
export function getService(deptId) {
  return request({
    url: '/system/service/dept/' + deptId,
    method: 'get'
  })
}

// 删除部门
export function delService(deptId) {
  return request({
    url: '/system/dept/' + deptId,
    method: 'delete'
  })
}
